@layout("/common/_curd/_container.html"){

<div>
	<table  class="table table-striped">
		<thead>
		<tr>
			<th>美容师</th>
			<th>评分</th>
			<th>数量</th>
			<th>好评率</th>
		</tr>
		</thead>
		<tbody>
		@for(p in pl){

			<tr>
				<td>
					${p.name!}
				</td>
				<td>
					@if(p.score == 3.0){
					<button class="btn btn-success">好评</button>
					@}else if(p.score == 2.0){
					<button class="btn btn-warning">中评</button>
					@}else if(p.score == 1.0){
					<button class="btn btn-danger">差评</button>
					@}else if(p.score == 0.0){
					<button class="btn btn-white">未评价</button>
					@}
				</td>
				<td>
					${p.count!,numberFormat="##"}
				</td>
				<td>
					${p.rate!}
				</td>
			</tr>
		@}
		</tbody>
	</table>
</div>
@}	